package com.hitqz.robot.driver.dto.robot;

import java.io.Serializable;
import java.util.List;

/**
 * @author xupkun
 * @date 2023/8/3
 */
public class RobotStatusDto implements Serializable {


    private static final long serialVersionUID = -4828087511120080679L;

    //离机器人最近的站点")
    //closest_target")
    private String closestTarget;


    //机器人当前正在执行的导航任务中的source_id")
    //source_name")
    private String sourceName;

    //当前正在执行任务的id")
    //target_name")
    private String targetName;

    //机器人当前正执行的导航任务中，对应的路径")
    private int percentage;

    //机器人到当前正执行的导航任务所对应的路径的投影距离")
    private int distance;

    //任务状态列表")
    //task_status_list")
    private List<RobotTaskStatusListDto> taskStatusList;

    //提示")
    private String info;

    //api错误码")
    //ret_code")
    private int retCode;

    //api上传时间戳")
    //create_on")
    private String createOn;

    //错误信息")
    //err_msg")
    private String errMsg;


    public String getClosestTarget() {
        return closestTarget;
    }

    public void setClosestTarget(String closestTarget) {
        this.closestTarget = closestTarget;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public int getPercentage() {
        return percentage;
    }

    public void setPercentage(int percentage) {
        this.percentage = percentage;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public List<RobotTaskStatusListDto> getTaskStatusList() {
        return taskStatusList;
    }

    public void setTaskStatusList(List<RobotTaskStatusListDto> taskStatusList) {
        this.taskStatusList = taskStatusList;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getRetCode() {
        return retCode;
    }

    public void setRetCode(int retCode) {
        this.retCode = retCode;
    }

    public String getCreateOn() {
        return createOn;
    }

    public void setCreateOn(String createOn) {
        this.createOn = createOn;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}

